package com.sesame.consumerdemo.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(name = "provider-demo",fallback = UserFeignServiceFallback.class)
@Service
public interface UserFeiginService {

    @GetMapping(value = "/user/show")
    Object getAllUser();

}
